import {createApp} from 'vue';
import App from './App.vue';
import store from "./store";
import router from "./router";

import * as ElementPlusIconsVue from '@element-plus/icons-vue';
import './styles/normalize.css';
import 'virtual:svg-icons-register';

import myIcon from './components/myIcon/index.vue';

const app = createApp(App);
app.component('my-icon', myIcon);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}

app
  .use(store)
  .use(router)
  .mount('#app');
